package com.zs.zcerp.approval.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zs.zcerp.approval.entity.QhBasestdMEntity;
import com.zs.zcerp.approval.entity.QhRejectRecordEntity;
import com.zs.zcerp.common.entity.QueryRequest;

import java.util.List;

/**
 * (QhRejectRecord)表服务接口
 *
 * @author makejava
 * @since 2021-06-16 15:01:39
 */
public interface QhRejectRecordService {


    /**
     * 新增数据
     *
     * @param rejectRecordEntity 实例对象
     * @return 实例对象
     */
    void createEntity(QhRejectRecordEntity rejectRecordEntity);



    /**
     * 查找流程驳回信息
     *
     * @param qhRejectRecordEntity    驳回对象，用于传递查询条件
     * @return IPage
     */
    List<QhRejectRecordEntity> findList(QhRejectRecordEntity qhRejectRecordEntity);


    IPage<QhRejectRecordEntity> findPageList(QhRejectRecordEntity rejectRecordEntity, QueryRequest request);

    /**
     *  批量删除驳回
     * @param rejectIds
     */
    void deleteBaseByRejectId(String[] rejectIds);
}